package com.tdcoding.chat.entities;

import io.protostuff.Tag;

public class NewsInfo extends BaseInfo {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Tag(value=7)
	private long newsId;
	@Tag(value=8)
	private int newsType;
	@Tag(value=9)
	private String newsTitle;
	@Tag(value=10)
	private String newsLink;
	@Tag(value=11)
	private String newsBanner;

	public long getNewsId() {
		return newsId;
	}

	public void setNewsId(long newsId) {
		this.newsId = newsId;
	}

	public int getNewsType() {
		return newsType;
	}

	public void setNewsType(int newsType) {
		this.newsType = newsType;
	}

	public String getNewsTitle() {
		return newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewsLink() {
		return newsLink;
	}

	public void setNewsLink(String newsLink) {
		this.newsLink = newsLink;
	}

	public String getNewsBanner() {
		return newsBanner;
	}

	public void setNewsBanner(String newsBanner) {
		this.newsBanner = newsBanner;
	}

	@Override
	public String toString() {
		return "NewsInfo [newsId=" + newsId + ", newsType=" + newsType + ", newsTitle=" + newsTitle + ", newsLink="
				+ newsLink + ", newsBanner=" + newsBanner + "]";
	}

}
